package org.empire.model;

import java.util.GregorianCalendar;

public class Comment {
	
	private String name;
	private String comment;
	private String email;
	private String website;
	private GregorianCalendar date = new GregorianCalendar();
	private Integer positiveVotes = 0;
	private Integer negativeVotes = 0;
	
	public String getName() {
		return name;
	}
	
	public void setName(String name) {
		this.name = name;
	}
	
	public String getComment() {
		return comment;
	}
	
	public void setComment(String comment) {
		this.comment = comment;
	}
	
	public String getEmail() {
		return email;
	}
	
	public void setEmail(String email) {
		this.email = email;
	}
	
	public GregorianCalendar getDate() {
		return date;
	}
	
	public void setDate(GregorianCalendar date) {
		this.date = date;
	}
	
	public Integer getPositiveVotes() {
		return positiveVotes;
	}
	
	public void incrementPositiveVotes() {
		this.positiveVotes++;
	}
	
	public Integer getNegativeVotes() {
		return negativeVotes;
	}
	
	public void incrementNegativeVotes() {
		this.negativeVotes++;
	}

	public String getWebsite() {
		return website;
	}

	public void setWebsite(String website) {
		this.website = website;
	}

}
